package cn.strive.eams.scrap.service.impl;

import cn.strive.eams.scrap.mapper.ScrapMapper;
import cn.strive.eams.scrap.pojo.dto.ScrapQuery;
import cn.strive.eams.scrap.pojo.vo.ScrapVO;
import cn.strive.eams.scrap.service.ScrapService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ScrapServiceImpl implements ScrapService {
    @Autowired
    ScrapMapper scrapMapper;
    @Override
    public List<ScrapVO> selectAll(ScrapQuery scrapQuery) {
        List<ScrapVO> list = scrapMapper.selectAll(scrapQuery);
        return list;
    }
}
